<?php
			if($_REQUEST['from']=="editClient"){
				echo "<div id=\"vHead\">";
				echo "	<span id=\"viewHeader\">CLIENT INFORMATION | ".$_REQUEST['client']."</span>";
				echo "</div>";
				echo "<input type=\"hidden\" id=\"clientValue\" value=\"".$_REQUEST['client']."\" >";
				echo "<input type=\"hidden\" id=\"companyOrig\" value=\"".$_REQUEST['company']."\" >";
				echo "<input type=\"hidden\" id=\"addressOrig\" value=\"".$_REQUEST['address']."\" >";
				echo "<input type=\"hidden\" id=\"cellNoOrig\" value=\"".$_REQUEST['cellNo']."\" >";
				echo "<input type=\"hidden\" id=\"telNoOrig\" value=\"".$_REQUEST['telNo']."\" >";
				echo "<input type=\"hidden\" id=\"faxNoOrig\" value=\"".$_REQUEST['faxNo']."\" >";
				echo "<input type=\"hidden\" id=\"emailAddOrig\" value=\"".$_REQUEST['emailAdd']."\" >";
			}
			else{
				echo "<div id=\"vHead\">";
				echo "	<span id=\"viewHeader\">CLIENT INFORMATION | ".$_REQUEST['client']."</span>";
				echo "</div>";
				echo "<input type=\"hidden\" id=\"clientValue\" value=\"".$_REQUEST['client']."\" >";
				echo "<input type=\"hidden\" id=\"companyOrig\" value=\"".$_REQUEST['companyOrig']."\" >";
				echo "<input type=\"hidden\" id=\"addressOrig\" value=\"".$_REQUEST['addressOrig']."\" >";
				echo "<input type=\"hidden\" id=\"cellNoOrig\" value=\"".$_REQUEST['cellNoOrig']."\" >";
				echo "<input type=\"hidden\" id=\"telNoOrig\" value=\"".$_REQUEST['telNoOrig']."\" >";
				echo "<input type=\"hidden\" id=\"faxNoOrig\" value=\"".$_REQUEST['faxNoOrig']."\" >";
				echo "<input type=\"hidden\" id=\"emailAddOrig\" value=\"".$_REQUEST['emailAddOrig']."\" >";
			}

			echo "<div id=\"vBody\">";
			echo "		<input type=\"button\" value=\"submit\" onclick=\"validate('editClient');\"><input type=\"button\" value=\"cancel\" onclick=\"cancel('client');\">";
			echo "		<div id=\"viewCompany\">";
			echo "			<div id=\"company_l\">";
			echo "				Company<span id=\"companyError\" class=\"error\">&nbsp;*invalid</span>";
			echo "			</div>";
			echo "			<div id=\"company_i\">";
			echo 				"<input type=\"text\" id=\"companyValue\" class=\"input\" value=\"".$_REQUEST['company']."\" size=\"19\" />";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewAddress\">";
			echo "			<div id=\"address_l\">";
			echo "			Address<span id=\"addressError\" class=\"error\">&nbsp;*invalid</span>";
			echo "			</div>";
			echo "			<div id=\"address_i\">";
			echo 				"<input type=\"text\" id=\"addressValue\" class=\"input\" value=\"".$_REQUEST['address']."\" size=\"19\">";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewEmailAdd\">";
			echo "			<div id=\"emailAdd_l\">";
			echo "			Email Add.<span id=\"emailAddError\" class=\"error\">&nbsp;*invalid</span>";
			echo "			</div>";
			echo "			<div id=\"emailadd_i\">";
			echo 				"<input type=\"text\" id=\"emailAddValue\" class=\"input\" value=\"".$_REQUEST['emailAdd']."\" size=\"19\">";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewCellNo\">";
			echo "			<div id=\"cellNo_l\">";
			echo "			Cell. Number<span id=\"cellNoError\" class=\"error\">&nbsp;*invalid</span>";
			echo "			</div>";
			echo "			<div id=\"cellNo_i\">";
			echo 				"<input type=\"text\" id=\"cellNoValue\" class=\"input\" value=\"".$_REQUEST['cellNo']."\" size=\"19\">";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewTelNo\">";
			echo "			<div id=\"telNo_l\">";
			echo "			Tel. Number<span id=\"telNoError\" class=\"error\">&nbsp;*invalid</span>";
			echo "			</div>";
			echo "			<div id=\"telNo_i\">";
			echo 				"<input type=\"text\" id=\"telNoValue\" class=\"input\" value=\"".$_REQUEST['telNo']."\" size=\"19\">";
			echo "			</div>";
			echo "		</div>";
			echo "		<div id=\"viewFaxNo\">";
			echo "			<div id=\"faxNo_l\">";
			echo "			Fax Number<span id=\"faxNoError\" class=\"error\">&nbsp;*invalid</span>";
			echo "			</div>";
			echo "			<div id=\"faxNo_i\">";
			echo 				"<input type=\"text\" id=\"faxNoValue\" class=\"input\" value=\"".$_REQUEST['faxNo']."\" size=\"19\">";
			echo "			</div>";
			echo "		</div>";
			echo "</div>";
			
			echo "<div id=\"vLower\">";
			echo "</div>";
?>